]> git.pond.sub.org Git - empserver/commit
Fix XNORM() and YNORM() hvy-metal-2.2
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 12 May 2008 16:45:11 +0000 (18:45 +0200)
committerMarkus Armbruster <armbru@pike.pond.sub.org>
Mon, 12 May 2008 16:45:58 +0000 (18:45 +0200)
commit99f3c42ec73108e4cf194813425e0cbac016ba59
tree24cee67ea533b56e22c5a8c184f0bba1eb042d87
parent47430cc885dc13cfa13861df1238ba1d98a18378
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