aboutsummaryrefslogtreecommitdiffstats
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-11-04 08:50:18 -0500
committerClyne Sullivan <tullivan99@gmail.com>2015-11-04 08:50:18 -0500
commit69701af0cdd9b5cb41fff7ac7b1265c71506b7da (patch)
tree423fc30de843943db89cde9aa5802883a25bd8b9 /src/inventory.cpp
parent6b7dd6a9c031fd2129676500bc8e8633d3fcf234 (diff)
ortho binds to y
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index cb33deb..c79a29b 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -91,7 +91,7 @@ int Inventory::takeItem(ITEM_ID id,unsigned char count){
void Inventory::draw(void){
unsigned int i=0;
- float y=SCREEN_HEIGHT/2,xoff;
+ float y=offset.y,xoff;
ui::setFontSize(14);
ui::putText(offset.x-SCREEN_WIDTH/2,y,"Inventory:");
while(item[i].count){