mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Fix candle flames and grease spill progression on res change
This commit is contained in:
@@ -292,7 +292,7 @@ void BackUpFlames (Rect *src, short index)
|
||||
// Like the above function but this is called when the lighting changes<65>
|
||||
// in a room (lights go on or off).
|
||||
|
||||
void ReBackUpFlames (short where, short who)
|
||||
void ReBackUpFlames (short where, short who, short h, short v)
|
||||
{
|
||||
short i, f;
|
||||
|
||||
@@ -304,6 +304,7 @@ void ReBackUpFlames (short where, short who)
|
||||
{
|
||||
if (flames[f].who == i)
|
||||
{
|
||||
QOffsetRect(&flames[f].dest, h - 8 - flames[f].dest.left, v - 15 - flames[f].dest.top);
|
||||
BackUpFlames(&flames[f].dest, i);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user