mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
5441272bec
* Reported to me by @Phredreeke, who had it reported to him from someone else. * The sword in the widescreen assets pack we load by default has a height of 216px vs 136px of the default tile. * Because the game presents and retracts weapons at a set rate, the time it took to swap between the sword and other weapons took ~1.58x longer than the original assets. * This speeds up the present/retract rate based on the loaded asset's height to ensure the weapon switches in the same elapsed time. * This may be extended to other weapons if required but the sword is the only one I'm aware of that has more height. * Confirmed no matter what motion the sword was performing, `psp->picndx` was always 2080 so we shouldn't need a hashtable or anything like this. |
||
---|---|---|
.. | ||
src | ||
all.cpp |