Navigation Menu

Skip to content

Commit

Permalink
Small tweak, just in case part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Reuh committed Aug 23, 2015
1 parent f098e4a commit bbdf8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/texture.c
Expand Up @@ -16,7 +16,7 @@ u8 getType(const char *name) {
// module functions
static int texture_load(lua_State *L) {
const char *path = luaL_checkstring(L, 1);
u8 place = luaL_optinteger(L, 2, 0); //place in ram by default
u8 place = luaL_optinteger(L, 2, SF2D_PLACE_RAM); //place in ram by default
u8 type = luaL_optinteger(L, 3, 3); //type 3 is "search at the end of the filename"

texture_userdata *texture;
Expand Down

0 comments on commit bbdf8d1

Please sign in to comment.