]> git.pond.sub.org Git - empserver/commit
Fix XNORM() and YNORM() hvy-metal-2.2a
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 12 May 2008 16:45:11 +0000 (18:45 +0200)
committerMarkus Armbruster <armbru@pike.pond.sub.org>
Sun, 18 May 2008 08:13:45 +0000 (10:13 +0200)
commit7dc0f48868db15a116cf67d5642bc01c12b93086
tree24cee67ea533b56e22c5a8c184f0bba1eb042d87
parente2eccc57405020901a90ea0cd06c9ea9501af1e3
Fix XNORM() and YNORM()

Broken in commit 5f764285 (v4.3.12) for negative multiples of WORLD_X
and WORLD_Y, respectively.

This could theoretically lead to buffer overruns and other
unpleasantness.  None have been reproduced, though.
(cherry picked from commit 7680acc39fd63684c6854f27e99a2a5e18712473)
include/xy.h