diff --git a/source/sw/src/panel.cpp b/source/sw/src/panel.cpp index e31b86939..26e6b5135 100644 --- a/source/sw/src/panel.cpp +++ b/source/sw/src/panel.cpp @@ -6704,7 +6704,7 @@ InsertPanelSprite(PLAYERp pp, PANEL_SPRITEp psp) PANEL_SPRITEp -pSpawnSprite(PLAYERp pp, PANEL_STATEp state, uint8_t priority, int x, int y) +pSpawnSprite(PLAYERp pp, PANEL_STATEp state, uint8_t priority, double x, double y) { unsigned i; PANEL_SPRITEp psp; diff --git a/source/sw/src/panel.h b/source/sw/src/panel.h index db2a69f20..0fcb98a35 100644 --- a/source/sw/src/panel.h +++ b/source/sw/src/panel.h @@ -183,7 +183,7 @@ enum BorderTypes #define SHOTGUN_AUTO_NUM 0 #define SHOTGUN_AUTO 2078 -PANEL_SPRITEp pSpawnSprite(PLAYERp pp, PANEL_STATEp state, uint8_t priority, int x, int y); +PANEL_SPRITEp pSpawnSprite(PLAYERp pp, PANEL_STATEp state, uint8_t priority, double x, double y); void pSetSuicide(PANEL_SPRITEp psp); SWBOOL pKillScreenSpiteIDs(PLAYERp pp, short id); void PreUpdatePanel(double smoothratio);