Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tome
Tales of MajEyal
Commits
83444954
Commit
83444954
authored
10 years ago
by
DarkGod
Browse files
Options
Downloads
Plain Diff
Merge branch 'small_fixes' into 'master'
Small fixes A couple o' typos I've ran across.
parents
e2d3e647
8f221706
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/engines/default/engine/Projectile.lua
+4
-1
4 additions, 1 deletion
game/engines/default/engine/Projectile.lua
game/modules/tome/class/Player.lua
+6
-2
6 additions, 2 deletions
game/modules/tome/class/Player.lua
with
10 additions
and
3 deletions
game/engines/default/engine/Projectile.lua
+
4
−
1
View file @
83444954
...
...
@@ -232,10 +232,13 @@ function _M:act()
self
:
moveDirection
(
self
.
homing
.
target
.
x
,
self
.
homing
.
target
.
y
)
self
.
homing
.
count
=
self
.
homing
.
count
-
1
if
self
.
src
then
self
.
src
.
__project_source
=
self
end
-- intermediate projector source
if
(
self
.
x
==
self
.
homing
.
target
.
x
and
self
.
y
==
self
.
homing
.
target
.
y
)
or
self
.
homing
.
count
<=
0
then
if
self
.
x
==
self
.
homing
.
target
.
x
and
self
.
y
==
self
.
homing
.
target
.
y
then
game
.
level
:
removeEntity
(
self
,
true
)
self
.
dead
=
true
self
.
homing
.
on_hit
(
self
,
self
.
src
,
self
.
homing
.
target
)
elseif
self
.
homing
.
count
<=
0
then
game
.
level
:
removeEntity
(
self
,
true
)
self
.
dead
=
true
else
self
.
homing
.
on_move
(
self
,
self
.
src
)
end
...
...
This diff is collapsed.
Click to expand it.
game/modules/tome/class/Player.lua
+
6
−
2
View file @
83444954
...
...
@@ -336,8 +336,8 @@ function _M:move(x, y, force)
return
moved
end
function
_M
:
act
()
if
not
mod
.
class
.
Actor
.
act
(
self
)
then
return
end
function
_M
:
act
Base
()
mod
.
class
.
Actor
.
act
Base
(
self
)
-- Run out of time ?
if
self
.
summon_time
then
...
...
@@ -348,6 +348,10 @@ function _M:act()
return
true
end
end
end
function
_M
:
act
()
if
not
mod
.
class
.
Actor
.
act
(
self
)
then
return
end
-- Funky shader things !
self
:
updateMainShader
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment