SPHOMEのバグ修正とLinuxでコンパイル通るようにした

This commit is contained in:
otya128 committed 2015-08-26 13:44:43 +09:00
1 parent aa27d88c24
commit 895c120892
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -425,7 +425,7 @@ class Sprite
{
int x = cast(int)sprite.x;// - cast(int)(sprite.homex * sprite.scalex);
int y = cast(int)sprite.y;// - cast(int)(sprite.homey * sprite.scaley);
auto homex2 = ((sprite.w / 2 ) - sprite.homex) / dish;
auto homex2 = ((sprite.w / 2 ) - sprite.homex) / disw;
auto homey2 = ((sprite.h / 2 ) - sprite.homey) / dish;
int w = sprite.w;
int h = sprite.h;