Fixed the gost animation background reset. Made a little tweak to draw the gui in vertical rooms (not 100% working)
svn-id: r4435
This commit is contained in:
parent
a1ccc73112
commit
a88b78fc37
4 changed files with 7 additions and 5 deletions
2
gui.cpp
2
gui.cpp
|
@ -522,7 +522,7 @@ byte *Gui::getBasePtr(int x, int y)
|
|||
return NULL;
|
||||
|
||||
return _vs->screenPtr + x + (y - _vs->topline) * 320 +
|
||||
_s->_screenStartStrip * 8;
|
||||
_s->_screenStartStrip * 8 + (_s->camera._cur.y - 100)*320;
|
||||
}
|
||||
|
||||
void Gui::lineto(int x, int y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue