HDB: Fix warnings
This commit is contained in:
parent
5f8e3fab2c
commit
9a0e685f0e
2 changed files with 3 additions and 3 deletions
|
@ -147,7 +147,7 @@ bool AI::useSwitchOn(AIEntity *e, int x, int y, int targetX, int targetY, int of
|
|||
}
|
||||
|
||||
bool AI::useSwitch2(AIEntity *e, int x, int y, int targetX, int targetY) {
|
||||
int i = 10;
|
||||
// int i = 10; // unused
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -590,7 +590,7 @@ void Window::closeMsg() {
|
|||
|
||||
void Window::drawInventory() {
|
||||
int baseX, drawX, drawY;
|
||||
static uint32 timer = g_hdb->getTimeSlice() + 300;
|
||||
// static uint32 timer = g_hdb->getTimeSlice() + 300; // unused
|
||||
AIEntity *e, *sel;
|
||||
char string[8];
|
||||
int gems, mstones;
|
||||
|
@ -712,7 +712,7 @@ void Window::openDeliveries(bool animate) {
|
|||
void Window::drawDeliveries() {
|
||||
int baseX, drawX, drawY;
|
||||
DlvEnt *d;
|
||||
static uint32 timer = g_hdb->getTimeSlice() + 300;
|
||||
//static uint32 timer = g_hdb->getTimeSlice() + 300; //unused
|
||||
|
||||
int crazySounds[kNumCrazy] = {
|
||||
SND_GUI_INPUT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue